home *** CD-ROM | disk | FTP | other *** search
- $numdevs{$name} = 35; $stddevs{$name} = "^(.*[^0].)\$";
-
- $generate{$name} = sub {
- my @audio_minors = ("mixer", "sequencer", "midi00",
- "dsp", "audio", "", "sndstat", "", "sequencer2");
-
- $audio_minors[16] = "mixer1";
- $audio_minors[17] = "patmgr0";
- $audio_minors[19] = "dsp1";
- $audio_minors[20] = "audio1";
- $audio_minors[33] = "patmgr1";
-
- if ( defined $audio_minors[$i] && $audio_minors[$i] ne "") {
- &$MkNod ("system", $audio_minors[$i], "c", 14, $i);
- } elsif ($i%16 == 2) {
- &$MkNod ("system", sprintf("midi%02d", $i/16), "c", 14, $i);
- };
- };
-
- # $numdevs{$name} = 2;
- # &$MkNod ("system", sprintf("midi%d",$i), "c", 35, $i);
- # &$MkNod ("system", sprintf("rmidi%d",$i), "c", 35, $i+64);
-